<template>
  <NstdCheckboxGroup v-model="checkList" :options="options"></NstdCheckboxGroup>
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const checkList = ref([4, 1])
  const options = [
    {
      type: 'checkbox',
      label: 1,
      value: 'Option A',
    },
    {
      type: 'checkbox',
      label: 2,
      value: 'Option B',
    },
    {
      type: 'checkbox',
      label: 3,
      value: 'disabled',
      disabled: true
    },
    {
      type: 'checkbox',
      label: 4,
      value: 'selected and disabled',
      disabled: true
    }
  ]
</script>
